using System;
using System.Runtime.Serialization;
using CodeAngel.Domain.Framework;

namespace CodeAngel.Domain
{
    [DataContract]
	public class FilterRelationDto : IDto
	{

		#region ID

        /// <summary>
        /// Gets the unique identifier for this DTO.
        /// </summary>
		public Guid ID
		{
		    get
		    {
                return this.FilterRelationID;
		    }
		}

		#endregion

		#region Fields

        [DataMember]
		public Guid FilterRelationID {  get;  set; }

        [DataMember]
		public string FriendlyID {  get;  set; }

        [DataMember]
		public Guid EntityDefID {  get;  set; }

        [DataMember]
		public Guid? ParentFilterRelationID {  get;  set; }

        [DataMember]
		public Guid? PropertyDefID {  get;  set; }

        [DataMember]
		public byte[] TimeStamp {  get;  set; }

		#endregion

		#region State

        /// <summary>
        /// Gets or sets the state of this dto.
        /// </summary>
        [DataMember]
		public DtoChangedState State {  get;  set; }

		#endregion

	}
}

